<template>
<!-- 返回按钮 -->
  <div class="backBtn" @click="back">
      <div class="backSpan"><span>返回</span></div>
      <div class="backImage"></div>
  </div>
</template>

<script>
export default {
    name: 'backBtn',
    methods:{
        back(){
            console.log("返回");
        }
    }
}
</script>

<style lang="less" scoped>
.backBtn{
    width: 18.6%;
    height: 4.755%;
    position: absolute;
    top:2.04%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: white;
    border-radius: 0 1.078125rem 1.078125rem 0;
    .backSpan{
        color: #666666;
        // padding-left: .625rem;
        line-height: 4.755%;
        font-size: .875rem;
        white-space: nowrap;
    }
    .backImage{
        width: 31.5%;
        height: 64.8648%;
        background-image: url("../images/back.png");
        background-size: contain;
        right: 0;
       background-position-y: center;
        background-repeat: no-repeat;
    }
}
</style>